
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/head.jsp" %>
	<table width="800" border="1">
	  <caption>
	  用户列表
	  </caption>
	  <tr>
		<th scope="col">用户ID</th>
		<th scope="col">用户名称</th>
		<th scope="col">用户权限</th>
		<th scope="col">用户状态</th>
		<th scope="col">操作</th>
	  </tr>
	  <s:iterator value="list" status="index">
	  <tr>
	    <td scope="col" align="center">&nbsp;<s:property value="userID"/></td>
	    <td scope="col" align="center">&nbsp;<s:property value="userName"/></td>
	    <td scope="col" align="center">&nbsp;<s:property value="userRight"/></td>
	    <td scope="col" align="center">&nbsp;<s:property value="userStatus"/></td>
	    <td scope="col" align="center">【&nbsp;
	    	<s:if test="userStatus=='正常'">
	    	<a href="/admin/lockNo.action?userID=<s:property value='userID'/>">锁定</a>
	    	</s:if>
	    	<s:elseif test="userStatus=='锁定中'">
	    	<a href="/admin/lockYes.action?userID=<s:property value='userID'/>">激活</a>
	    	</s:elseif>
	    	&nbsp;】
	    </td>
      </tr>
      </s:iterator>
	</table>
<%@ include file="/foot.jsp" %>